Problems and graphs

Todo

Describe how to define a Problem and graph building.